package com.tiankun.eurekasellinfo.mapper;

import com.tiankun.eurekasellinfo.pojo.Shop;
import org.springframework.stereotype.Repository;

/**
 * @Author 杨天可
 * @Date 2020/11/14 10:50
 * @Version 1.0
 */
@Repository
public interface ShopMapper {
    //申请店铺
    int registShop(Shop shop);

    //店铺上下架
    int changeShopState(Integer shopId,Integer state);

    //根据店铺ID查找店铺信息
     Shop selectById(Integer id);
}
